package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

import java.math.BigDecimal;

@Schema(description = "更新商品规格库存请求体")
public class GoodsSizeInventoryUpdateRequest {
    @Schema(description="商品规格id",example="1")
    @NotNull
    private Integer id;

    @Schema(description="净重",example="1")
    private BigDecimal inventory;

    @Schema(description="修改人",example="admin")
    private String updater;

    @Schema(description="操作者",example="admin")
    private String operator;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getInventory() {
        return inventory;
    }

    public void setInventory(BigDecimal inventory) {
        this.inventory = inventory;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
}